package com.lbd.system.dao;

import com.lbd.system.bean.Employee;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.repository.PagingAndSortingRepository;

import java.io.Serializable;

/**
 * Created by WangYajie on 2016/9/12.
 */
public interface EmployeeRepository extends PagingAndSortingRepository<Employee, Serializable>, JpaSpecificationExecutor<Employee> {
    Employee findByLoginNameAndPassword(String loginName, String password);
}
